home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wics.zip
/
FONTSEL.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-03
|
1KB
|
41 lines
//=====================================================================================
// Windows Interface Construction Set
// Version 1.00
//
// FONTSEL.H - Font Selection Control Class
// Copyright ⌐ 1993 by Microdyne Development Technologies.
// All rights reserved.
//=====================================================================================
#ifndef __FONTSEL_H
#define __FONTSEL_H
#include <owl.h>
#include <control.h>
_CLASSDEF (TFontSelect);
class TFontSelect : public TControl
{
private:
protected:
virtual LPSTR GetClassName() { return "FontSelect"; }
virtual void WMDrawItem (RTMessage) = [WM_FIRST + WM_DRAWITEM];
public:
TFontSelect (PTWindowsObject AParent, int AnId, int X, int Y);
~TFontSelect();
virtual int GetControlLength () { return Attr.W; }
virtual void GetFamilyName (WORD cchMax, LPSTR lpFamilyName);
virtual int GetFontSize ();
virtual void SetFamilyName (LPSTR lpFamilyName);
virtual void SetFamilyCommandCode (WORD code);
virtual void SetFontSize (int iPointSize);
virtual void SetFontSizeCommandCode (WORD code);
};
#endif